# class ceshi():
#
#     def ceshi1(self,c):
#         print("执行1")
#         print(c)
#
#     @classmethod
#     def ceshi2(cls,c):
#         print("执行2")
#         print(c)
#
# c = {"name":"majialu","age":"18"}
# a = ceshi()
# a.ceshi2(c)

# 计算1~100的累积和（包含1和100）

def solve(str):

    ans = ""
    Len = len(str)
    for i in range(0, Len):
        print(i)
        ans += str[Len - 1 - i]
    return ans


# ans = solve("123")
# print(ans)

# ===================================================
#  偶数false
# 奇数 n=3; n-1 =a[n+1] ... n-3 = n+3
def ceshi(listn):

    return listn.reverse()

res = ceshi([1,2,3])
print(res)



